<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--sweetalert2-->
    <link href="../dist/sweetalert2.min.css" rel="stylesheet">
    <script src="../dist/sweetalert2.min.js" type="text/javascript"></script>
</head>
<body>

<script>
   const p={'id':1}          //这里的id 写 'id'  id  都一样 都会把key当做  String类型


   console.log(p)
   console.log(p.id)
</script>

</body>
</html>